<template>
  {{ text }}

  <n-button @click="jump">点击跳转B组件的 a组件</n-button>
</template>

<script setup lang="ts">
import { mainRouter } from '@/utils/global'

const text = ref('A应用的 a组件')

const jump = () => mainRouter('/childTwo/A', { text: 'query传递参数123' })
</script>

<style lang="scss" scoped></style>
